package threads;

import java.io.File;
import java.io.IOException;
import java.util.ArrayList;

import pathManager.PathManager;

public class SequentialThreads implements Runnable{
	
	PathManager pm = PathManager.getManager();
	ArrayList<File> fileList = pm.getFilePaths();

	private void JustWork(){
		for (File file : fileList) {
			try {
				pm.printFileInfo(file);
			} catch (IOException e) {
				e.printStackTrace();
			}
		}
		
	}
	
	
	@Override
	public void run() {
		JustWork();
	}

}
